chore(deps): update dependency posthog-node to v5 #242
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^4.18.0->^5.0.0Release Notes
PostHog/posthog-js (posthog-node)
v5.8.2Compare Source
Patch Changes
#2285
20c1b38Thanks @dustinbyrne! -getFeatureFlagandisFeatureEnablednow respect thesendFeatureFlagEventclient option if not explicitly specified when called.#2285
20c1b38Thanks @dustinbyrne! - ThesendFeatureFlagEventsoption forgetFeatureFlagPayloadis now marked as deprecated as it is not used.v5.8.1Compare Source
Patch Changes
1981815Thanks @hpouillot! - - fix error handling on process crash1981815]:v5.8.0Compare Source
Minor Changes
44d10c4Thanks @daibhin! - add exception rate limiterPatch Changes
44d10c4]:v5.7.0Compare Source
Minor Changes
cfe1e94Thanks @oliverb123! - Added before_send functionv5.6.0Compare Source
v5.5.1Compare Source
InconclusiveMatchErrors inlogMsgIfDebugfor local flag evaluations onsendFeatureFlagsv5.5.0Compare Source
sendFeatureFlagsparameter more declarative and ergonomic. Implementation notes below:Modified
sendFeatureFlagsto be typeboolean | SendFeatureFlagsOptions, (which is defined thusly)This lets users declare (1) whether to use local evaluation, and (2) which properties to supply explicitly for that evaluation, every time they want to send feature flags. It also supports the old boolean behavior if folks don't care and would rather the SDK infer it.
Now, you can make calls like this
or simply
v5.4.0Compare Source
feat: respect local evaluation preferences with
sendFeatureFlags; add property overrides from the event to those local computations so that the locally evaluated flags can be more accuratee. NB: this change chagnes the default behavior ofcaptureandcaptureImmediately– we will now only send feature flag data along with those events ifsendFeatureFlagsis explicitly specified, instead of optimistically sending along locally evaluated flags by default.v5.3.1Compare Source
v5.2.1Compare Source
v5.1.1Compare Source
v5.1.0Compare Source
/flags?v=2&config=trueinstead of/decide?v=4for the flag evaluation backendv5.0.0Compare Source
Removed
is_simple_flagfromPostHogFeatureFlagtypecaptureModein favor ofjsoncapture mode onlypersonPropertiesandgroupPropertiesin favor ofsetPersonPropertiesForFlagsandsetGroupPropertiesForFlagsBreaking changes
disableCompression: truein the client configuration during tests.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.